public class Reader extends Thread{
	String out= "";
	Pipe p;
	int size;
	public Reader(Pipe p,int size){
		this.p = p;
		this.size = size;
	}
	public void run(){
		out = p.readPipe(size);
	}
	public String getString(){
		return out;
	}
}